<h1>Tarifas List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Tipo</th>
      <th>Energia</th>
      <th>Grupo comision</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($tarifas as $tarifa): ?>
    <tr>
      <td><a href="<?php echo url_for('tarifa/show?id='.$tarifa->getId()) ?>"><?php echo $tarifa->getId() ?></a></td>
      <td><?php echo $tarifa->getTipo() ?></td>
      <td><?php echo $tarifa->getEnergiaId() ?></td>
      <td><?php echo $tarifa->getGrupoComision() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('tarifa/new') ?>">New</a>
